import { createApp } from 'vue'

import '@/assets/scss/clear.scss'// 引入该 空scss 解决 单个vue文件style中无内容导致scss不生效
import 'element-plus/dist/index.css'
import '@icon-park/vue-next/styles/index.css'
import '@/assets/css/index.css' // 引入 tailwindcss
import 'animate.css';

import { createPinia } from 'pinia'
import App from './App.vue'
import router from './router'

import './router/handler'
import Loading from '@/components/loading/loading'
import plugins from '@/plugin/index'

const app = createApp(App as any)
app.use(createPinia()) // 注册状态库
app.use(router) // 注册路由
app.use(plugins as any)
app.use(Loading)

app.mount('#app')